package cn.zw.design.order.formal;

public class TurnOffTv implements Command {

	Tv tv;
	public TurnOffTv(Tv tv) {
		this.tv = tv;
	}
	
	@Override
	public void execute() {
		tv.off();
	}

	@Override
	public void undo() {
		tv.on();
	}

}
